﻿using System;
using System.Collections.Generic;
using System.Text;
using Meqs.Entity;

namespace Meqs.Logic.Interface
{
    public interface IClassHistoryLogic : ICommonLogic<ClassHistory, int>
    {   
        /// <summary>
        /// 根据班级id删除历史记录
        /// </summary>
        int DeleteByClassID(int clsID, String schoolMark);

        /// <summary>
        /// 查找指定学年的有效班级
        /// </summary>
        IList<ClsInfo> FindClassesInSchoolYear(int schoolYear, String schoolMark, int? grade);

        IList<VClsInfo> FindClassesInSchoolYearToView(int schoolYear, String schoolMark, int? grade);

        IList<ClassHistory> FindClassHistory(int schoolYear, int clsID, String schoolMark);

        /// <summary>
        /// 根据班级id清理一个班级的学生数据
        /// </summary>
        int UpdateOneClassStuinfo(int clsID,  int year, int term);
    }
}
